import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

App.mpType = 'app'


//引入uview-ui
import uView from "uview-ui"
Vue.use(uView)



const app = new Vue({
  ...App
})


// 挂载自定义封装服务 来去验证页面是否有登录
import business from '@/services/business.js'
//挂载接口
Vue.use(business, app)
// 挂载自定义封装服务 来去验证页面是否有登录
import seller from '@/services/seller.js'
//挂载接口
Vue.use(seller, app)

import switchs from '@/services/switchs.js'
//挂载接口
Vue.use(switchs, app)

// 引入请求封装，将app参数传递到配置中
require('./services/request.js')(app)

app.$mount()
import api from '@/api/index.js'
Vue.use(api, app)


